var limsPurposeMethodRefer = Gikam.getPageObject({

    getEditListColumns : function() {
        return [ {
            checkbox : true
        }, {
            field : 'refervalue',
            title : 'T_LIMS_PURPOSE_METHOD_REFER.REFERVALUE'
        }, {
            field : 'referhigh',
            title : 'T_LIMS_PURPOSE_METHOD_REFER.REFERHIGH'
        }, {
            field : 'referlow',
            title : 'T_LIMS_PURPOSE_METHOD_REFER.REFERLOW'
        }, {
            field : 'dangertip',
            title : 'T_LIMS_PURPOSE_METHOD_REFER.DANGERTIP'
        }, {
            field : 'refertype',
            title : 'T_LIMS_PURPOSE_METHOD_REFER.REFERTYPE'
        }, {
            field : 'datatype',
            title : 'T_LIMS_PURPOSE_METHOD_REFER.DATATYPE'
        } ];
    },

    getBaseInfoFormFields : function() {
        return [ {
            field : 'refervalue',
            title : 'T_LIMS_PURPOSE_METHOD_REFER.REFERVALUE',
            validators : [ 'strLength[0,33]' ]
        }, {
            field : 'referhigh',
            title : 'T_LIMS_PURPOSE_METHOD_REFER.REFERHIGH',
            validators : [ 'strLength[0,33]' ]
        }, {
            field : 'referlow',
            title : 'T_LIMS_PURPOSE_METHOD_REFER.REFERLOW',
            validators : [ 'strLength[0,33]' ]
        }, {
            field : 'dangertip',
            title : 'T_LIMS_PURPOSE_METHOD_REFER.DANGERTIP',
            validators : [ 'strLength[0,66]' ]
        }, {
            field : 'refertype',
            title : 'T_LIMS_PURPOSE_METHOD_REFER.REFERTYPE',
            validators : [ 'strLength[0,16]' ]
        }, {
            field : 'datatype',
            title : 'T_LIMS_PURPOSE_METHOD_REFER.DATATYPE',
            validators : [ 'strLength[0,16]' ]
        }, ];
    },

    baseUrl : IFM_CONTEXT + '/secure/basemodule/coredata/purpose-method-refers'
});
